home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / which.z / which
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. WWWWHHHHIIIICCCCHHHH((((1111))))                                                              WWWWHHHHIIIICCCCHHHH((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      which - locate a program file including aliases and path (_c_s_h only)
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      wwwwhhhhiiiicccchhhh [----aaaa] [----ffff] [_n_a_m_e...]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _W_h_i_c_h takes a list of names and looks for the files which would be
  16.      executed had these names been given as commands.  Each argument is
  17.      expanded if it is aliased, and searched for along the user's path.
  18.      Aliases are taken from the user's .cshrc file.  The current value of path
  19.      is used.  The ----aaaa option reports all instances rather than just the first
  20.      one.  With the ----ffff (fast) option, _w_h_i_c_h ignores the .cshrc file.
  21.  
  22. FFFFIIIILLLLEEEESSSS
  23.      ~/.cshrc  source of aliases
  24.  
  25. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  26.      A diagnostic is given for names that are aliased to one or more words, or
  27.      if an executable file with the argument name was not found in the path.
  28.  
  29. BBBBUUUUGGGGSSSS
  30.      Must be executed by a csh, since only csh's know about aliases.  Only
  31.      aliases and paths from ~/.cshrc are used; importing from the current
  32.      environment, .login, or /etc/cshrc isn't attempted.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.